
<form method="post" id="editProjectStudentForm" name="editProjectStudentForm">
<input type="hidden" name="id" value="${(po.id)!}" id="poid">
<table class="tableForm tableCss">
    <tr>
        <th>学生名称：</th>
        <td colspan="3">
            <input class="easyui-textbox" type="text"  id="student_name" name="student_name" value="${(po.student_name!)!}" data-options="required:true">
        </td>
    </tr>
    <tr>
        <th>社保卡号：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" type="text" id="student_sb_cart" name="student_sb_cart" value="${(po.student_sb_cart!)!}">
        </td>
        <th>社保卡发放地：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" type="text" id="student_sb_ffd" name="student_sb_ffd" value="${(po.student_sb_ffd!)!}">
        </td>
    </tr>
    <tr>
        <th>身份证号：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" type="text" name="student_id_cart" value="${(po.student_id_cart!)!}" >
        </td>
        <th>性别：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_sex" id="student_sex" value="${(po.student_sex!)!}" data-options="url:'admin/student/sys_pa_code?table=common&field=sex',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>出生日期：</th>
        <td>
            <input class="easyui-datebox" style="width:100%" type="text" name="student_birthday" value="${(po.student_birthday!)!}" data-options="formatter:myformatter,parser:myparser" >
        </td>
        <th>户籍所在地：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" type="text" name="student_hj_address" value="${(po.student_hj_address!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_hj_address',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>户籍地址：</th>
        <td colspan="3">
            <input class="easyui-textbox"  style="width:100%" type="text"  id="student_hj_address_detail" name="student_hj_address_detail" value="${(po.student_hj_address_detail!)!}">
        </td>
    </tr>
    <tr>
        <th>户口性质：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_hk_type" id="student_hk_type" value="${(po.student_hk_type!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_hk_type',method:'get',valueField:'id',textField:'name'" >
        </td>
        <th>婚姻状态：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_is_marray" id="student_is_marray" value="${(po.student_is_marray!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_is_marray',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>民簇：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_nationality" id="student_nationality" value="${(po.student_nationality!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_nationality',method:'get',valueField:'id',textField:'name'">
        </td>
        <th>政治面貌：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_political" id="student_political" value="${(po.student_political!)!}"  data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_political',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>所在单位：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="at_company" id="at_company" value="${(po.at_company!)!}">
        </td>
        <th>人员类型：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_type" id="student_type" value="${(po.student_type!)!}"   data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_type',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>鉴定人员类别：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="app_user_type" id="app_user_type" value="${(po.app_user_type!)!}"  data-options="url:'admin/student/sys_pa_code?table=bk_student&field=app_user_type',method:'get',valueField:'id',textField:'name'">
        </td>
        <th>国家职业资格等级：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="national_rank" id="national_rank" value="${(po.national_rank!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=national_rank',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>上一级职业资格级别：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="up_national_rank" id="up_national_rank" value="${(po.up_national_rank!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=up_national_rank',method:'get',valueField:'id',textField:'name'">
        </td>
        <th>是否免考理论：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="is_not_testing_theory" id="is_not_testing_theory" value="${(po.is_not_testing_theory!)!}" data-options="url:'admin/student/sys_pa_code?table=common&field=boolean',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>文化程度：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_cultural" id="student_cultural" value="${(po.student_cultural!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_cultural',method:'get',valueField:'id',textField:'name'">
        </td>
        <th>最高学历专业：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_high_school_record" id="student_high_school_record" value="${(po.student_high_school_record!)!}">
        </td>
    </tr>
    <tr>
        <th>职称：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_title" id="student_title" value="${(po.student_title!)!}">
        </td>
        <th>职务：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_duty" id="student_duty" value="${(po.student_duty!)!}">
        </td>
    </tr>
    <tr>
        <th>职业年限：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_age_limit" id="student_age_limit" value="${(po.student_age_limit!)!}">
        </td>
        <th>专业技术职务级别：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="student_duty_rank" id="student_duty_rank" value="${(po.student_duty_rank!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_student&field=student_duty_rank',method:'get',valueField:'id',textField:'name'">
        </td>
    </tr>
    <tr>
        <th>工龄：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_work_age" id="student_work_age" value="${(po.student_work_age!)!}" >
        </td>
        <th>电子邮箱：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_email" id="student_email" value="${(po.student_email!)!}" >
        </td>
    </tr>
    <tr>
        <th>联系地址：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_address" id="student_address" value="${(po.student_address!)!}">
        </td>
        <th>联系电话：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_tel_phone" id="student_tel_phone" value="${(po.student_tel_phone!)!}">
        </td>
    </tr>
    <tr>
        <th>基础信息1：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_memo_1" id="student_memo_1" value="${(po.student_memo_1!)!}">
        </td>
        <th>基础信息2：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="student_memo_2" id="student_memo_2" value="${(po.student_memo_2!)!}">
        </td>
    </tr>
    <tr>
        <th>项目考试类别：</th>
        <td>
            <input class="easyui-combobox" style="width:100%" name="project_testing_type" id="project_testing_type" value="${(po.project_testing_type!)!}" data-options="url:'admin/student/sys_pa_code?table=bk_project_student&field=project_testing_type',method:'get',valueField:'id',textField:'name'">
        </td>
        <th>项目考试类别说明：</th>
        <td>
            <input class="easyui-textbox" style="width:100%" name="project_testing_type_intro" id="project_testing_type_intro" value="${(po.project_testing_type_intro!)!}">
        </td>
    </tr>
</table>
</form>
<script>
    $(function(){
        $("#teacher_id").combogrid({
            panelWidth:450,
            idField:'id',
            textField:'name',
            value:"${(po.teacher_id!)!}",
            url:'admin/user/listTeacherJson',
            columns:[[
                {field:'id',title:'ID',width:60},
                {field:'name',title:'名称',width:100},
                {field:'phone',title:'联系方式',width:120},
                {field:'email',title:'邮箱',width:100}
            ]]
        });
    });

    function on_change(){
        var dep_id = $("#dep_id").combotree("getValue");
        $("#class_id").combobox("reload",'admin/class/load_class_combobox?dep_id='+dep_id);
    }

    function myformatter(date){
        var y = date.getFullYear();
        var m = date.getMonth()+1;
        var d = date.getDate();
        return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d);
    }
    function myparser(s){
        if (!s) return new Date();
        var ss = (s.split('-'));
        var y = parseInt(ss[0],10);
        var m = parseInt(ss[1],10);
        var d = parseInt(ss[2],10);
        if (!isNaN(y) && !isNaN(m) && !isNaN(d)){
            return new Date(y,m-1,d);
        } else {
            return new Date();
        }
    }
</script>
